Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODTransform


IsSameAs

The IsSameAs method returns a Boolean value that indicates whether this transform is identical to the specified transform.

ODBoolean IsSameAs (in ODTransform compareTransform);
compareTransform
A reference to the transform to be used for comparison.
return value
kODTrue if the transforms are equivalent (that is, they describe the same transformation), otherwise kODFalse.
DISCUSSION
The transform objects are equal if, and only if, their matrices are identical or if one is an exact multiple of the other.

OVERRIDING
If you subclass ODTransform to create a nonlinear transform class, you must override this method. Your override method can call its inherited method at any point in your implementation (it does not matter where).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help